# Maintainer: Will Sinatra <wpsinatra@gmail.com>
# Contributor: Will Sinatra <wpsinatra@gmail.com>
pkgname=libfixposix
pkgver=0.4.3
pkgrel=0
pkgdesc="Thin wrapper over POSIX syscalls"
url="https://github.com/sionescu/libfixposix"
arch="all"
license="BSL-1.0"
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sionescu/libfixposix/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -f -i
}

check() {
	make check
}

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="cd1ef4d51a885a0994475563472f0e9d03b8223a69d2f9b30666c2f7eb8716421434a829e710832ae58607944a09410efc693a51f76cb854ccc7278bf619702a  libfixposix-0.4.3.tar.gz"
